/* 
 * File:   cCamera.h
  * Author: josep
 *
 * Created on 12 / desembre / 2010, 01:06
 */
#include "cPositionedObject.h"
#include "Globals.h"

#ifndef CCAMERA_H
#define	CCAMERA_H



class cCamera : public cPositionedObject{
public:
    cCamera();
    cCamera(const cCamera& orig);
    virtual ~cCamera();
    virtual void Show();
    void Init(int Width, int Height, float SpeedX=0, float SpeedY=0, int PosX=0, int PosY=0);
    void SetDirectionY(int DirectionY);
    int GetDirectionY() const;
    void SetDirectionX(int DirectionX);
    int GetDirectionX() const;
    void SetWorldOrigin(int dir, int Origin);
    int GetWorldOrigin(int dir) const;
    void SetWorldDimension(int dir, int Origin);
    int GetWorldDimension(int dir) const;

private:
    int DirectionX;
    int DirectionY;
    int WorldOrigin[2];
    int WorldDimension[2];
};

#endif	/* CCAMERA_H */

